home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / NewTempFile.cmdo.R < prev    next >
Encoding:
Text File  |  1988-07-28  |  1.4 KB  |  58 lines  |  [TEXT/MPS ]

  1. /* File: NewTempFile.cmdo.R */
  2. /* Rez input for Commando interface for NewTempFile command */
  3. #include "Cmdo.r"
  4.  
  5. Resource 'cmdo' (200)  {
  6.     { 270,     /* dialog box height */
  7.     "NewTempFile opens a window on a scratch file with a unique name",
  8.     { NotDependent {}, RadioButtons {
  9.         {{35,35,55,160},"Active Window", "", Set,
  10.         "Open new temporary file as the active window",
  11.         {55,35,75,160}, "Target Window", "-t", NotSet,
  12.         "Open new temporary file as the target window"}
  13.         },
  14.     NotDependent {}, RegularEntry {
  15.         "Base name for file:",
  16.         {85,50,105,180},
  17.         {85,183,105,430},
  18.         "", keepCase,"",
  19.         "File name for temporary file; a number will be concatenated."
  20.         },
  21.     Or { {-4} }, CheckOption {
  22.         NotSet,
  23.         {30,195,50,445},
  24.         "Echo File Name without Quoting",
  25.         "-e",
  26.         "Cause name of temporary file to be written to Standard Output; don't quote special characters"
  27.         },
  28.     Or { {-3} }, CheckOption {
  29.         NotSet,
  30.         {50,195,70,445},
  31.         "Echo File Name with Quoting",
  32.         "-q",
  33.         "Cause name of temporary file to be written to Standard Output; quoting special characters"
  34.         },
  35.     Or {{3,4}}, Redirection {
  36.         StandardOutput,
  37.         {117,150},
  38.         },
  39.     NotDependent {}, Redirection {
  40.         DiagnosticOutput,
  41.         {117,290},
  42.         },
  43.     NotDependent {}, TextBox {
  44.         gray,
  45.         {115,30,156,450},
  46.         "Redirection"
  47.         },
  48.     NotDependent {}, TextBox {
  49.         gray,
  50.         {25,30,78,165},
  51.         "Open As…"
  52.         },
  53.     }
  54. }
  55. } ;
  56.  
  57. /* End File NewTempFile.cmdo.R */
  58.